package be.gnx.logging4eclipse.perspective.model.logging;

public abstract class Location {

  public String getFullLocation() {
    return getFullyQualifiedClassName() + "." + getMethodName() + "(" + getFileName() + ":" + getLineNumber() + ")";
  }
  
  public abstract String getFullyQualifiedClassName();

  public abstract String getMethodName();

  public abstract String getFileName();

  public abstract int getLineNumber();

  @Override
  public String toString() {
    return getFullLocation();
  }

}
